<!--
  // Ubiquity provides a standards-based suite of browser enhancements for
  // building a new generation of internet-related applications.
  //
  // The Ubiquity RDFa module adds RDFa support to the Ubiquity library.
  //
  // Copyright (C) 2007-8 Mark Birbeck
  //
  // Licensed under the Apache License, Version 2.0 (the "License");
  // you may not use this file except in compliance with the License.
  // You may obtain a copy of the License at
  //
  //  http://www.apache.org/licenses/LICENSE-2.0
  //
  // Unless required by applicable law or agreed to in writing, software
  // distributed under the License is distributed on an "AS IS" BASIS,
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  // See the License for the specific language governing permissions and
  // limitations under the License.
-->
<html
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:dbp="http://dbpedia.org/property/"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	xmlns:libxh="http://lib-xh.googlecode.com/"
	xmlns:rdfa="http://www.w3.org/ns/rdfa/"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
	<head>
		<title>Test RDFa additions to lib-xh</title>
	  <!--
	    This loads the RDFa parser.
	  -->
	  <script src="../ubiquity-loader.js" type="text/javascript">/**/</script>

    <!--
      This loads a lens that will act on the triples.
    -->
	  <link rel="libxh:include" href="formats/debug.html" />
	</head>
	<body style="background: green">
	  <h1>Introduction</h1>
	  <p>
	    This document contains various bits of information which can be used to play around with lib-xh's RDFa parser.
	  </p>
	  <p>
	    In particular this document shows how to walk a list of triples and show the results. The output
	    is <a href="#debug">at the end of the document</a>. Note that there are duplicates in the list, as
	    described in <a href="http://code.google.com/p/lib-xh/issues/detail?id=1">issue #1</a>.
	  </p>
	  <h1>FOAF</h1>
	  <div about="#me" typeof="foaf:Person" xmlns:foaf="http://xmlns.com/foaf/0.1/">
	    <h2 property="foaf:name">Mark Birbeck</h2>
	    <span rel="foaf:depiction">
	      <img src="http://www.formsplayer.com/files/pictures/picture-11.jpg" alt="My photo" />
	    </span>
	    <div>
	      <h3>Contact info</h3>
	      <div>Email: <a href="mailto:mark.birbeck@gmail.com" rel="foaf:mbox">mark.birbeck@gmail.com</a></div>
	      <div>Blog: <a href="http://internet-apps.blogspot.com" rel="foaf:weblog">http://internet-apps.blogspot.com</a></div>
	    </div>
	    <div rev="foaf:member" typeof="foaf:Group">
	      <h3>Work info</h3>
	      <div>Employer: <a href="http://webBackplane.com" rel="foaf:workplaceHomepage" property="foaf:name">webBackplane</a></div>
	    </div>
	  </div>

	  <div about="#duck" typeof="foaf:Person" xmlns:foaf="http://xmlns.com/foaf/0.1/">
	    <h2 property="foaf:name">Daniel E. Renfer</h2>
	    <span rel="foaf:depiction">
  	    <img src="http://assets2.twitter.com/system/user/profile_image/11491/normal/886.jpg?1171953691" alt="My photo" />
	    </span>
	    <div>
	      <h3>Contact info</h3>
	      <div rel="foaf:holdsAccount">
	        <span typeof="foaf:OnlineAccount">
  	        <span rel="foaf:accountServiceHomepage" resource="http://www.twitter.com/">Twitter Name:</span>
  	        <span property="foaf:accountName">duck1123</span>
	        </span>
	      </div>
	    </div>
	  </div>

    <h1>Books</h1>
	  <div about="urn:ISBN:0091808189" typeof="bib:book" xmlns:bib="http://somebig.org/">
	    A book.
	  </div>
	  
	  <div about="urn:ISBN:1596913614" typeof="bib:book" xmlns:bib="http://somebig.org/">
	    A book.
	  </div>

    <h1>Events</h1>
	  <div
	    xmlns:cal="http://www.w3.org/2002/12/cal/ical#"
	    xmlns:dc="http://purl.org/dc/elements/1.1/"
	    xmlns:foaf="http://xmlns.com/foaf/0.1/"

	    about="#talk" typeof="cal:Vevent"
	  >
	    Sam Sethi has invited me to talk about RDFa, formsPlayer and Sidewinder at an interesting meeting in
	    <span property="cal:location" content="BT Centre, London, EC1A 7AJ">London</span> next week.
	    
	    It's called
	    <a
	      rel="cal:description"
  	      href="http://www.vecosys.com/2007/02/14/what-comes-next-web-30-preparing-for-semantic-web/"
  	    property="cal:summary"
          >What comes next Web 3.0 - preparing for semantic web?
	    </a>.

	    It's organised as part of a series going under the title of <a href="http://www.etribes.com/mashup">mashup*</a>,
	    and as well as myself, the speakers are

	    <span about="#hugh" property="foaf:name" typeof="foaf:Person">Hugh MacCleod</span>,

	    <span
	      about="#paul"
  	      rel="foaf:depiction"
  	        resource="http://pub.mybloglog.com/coiserv.php?href=http://segala.com/blog&amp;n=Paul%20Walsh" 
  	      typeof="foaf:Person"
  	      property="foaf:name"
  	        >Paul Walsh
	    </span>
	    and
	    <span about="#tony" property="foaf:name" typeof="foaf:Person">Tony Fish</span>.

	    <span property="cal:dtstart" content="20070222T180000Z" datatype="xsd:datetime">The meeting starts at 7pm.</span>
	    <span property="geo:lat_long" content="37.4419, -122.1419">Situated at.</span>
	  </div>

    <h1>Chemistry</h1>
	  <div about="#chem_123" xmlns:chem="http://www.blueobelisk.org/chemistryblogs/">
	    Methane has the following identifier: <span property="chem:inchi">InChI=1/CH4/h1H4</span>
	  </div>

    <h1>Stocks</h1>
	  <p>
	    Meanwhile, other manufacturers are rolling out 3G-enabled phones that could attract users looking for
	    more wireless network power, such as the <span property="dbp:tickerSymbol" contentx="SSNLF" datatype=""><div style="color: red;">Samsung</div></span> F-700 and the
	    forthcoming touch-screen series 60 handset from <span property="dbp:tickerSymbol" content="NOK">Nokia</span>.
	  </p>

	  <div id="debug">triples</div>
	</body>
</html>
